package com.iplusbot.api;

public class MissionCommand {

    // public final static int CMD_CONTINUE = 1;
    public final static int CMD_CANCEL = 2;

    private int id;
    public int getId() { return this.id; }
    public void setId(int v) { this.id = v; }

    private String src;
    public String getSrc() { return this.src; }
    public void setSrc(String v) { this.src = v; }

    private int mission_id;
    public int getMissionId() { return this.mission_id; }
    public void setMissionId(int v) { this.mission_id = v; }

    private String mission_uuid;
    public String getMissionUuid() { return this.mission_uuid; }
    public void setMissionUuid(String v) { this.mission_uuid = v; }

    private int cmd;
    public int getCmd() { return this.cmd; }
    public void setCmd(int v) { this.cmd = v; }

    private int result;
    public int getResult() { return this.result; }
    public void setResult(int v) { this.result = v; }

    private String err_msg;
    public String getErrMsg() { return this.err_msg; }
    public void setErrMsg(String v) { this.err_msg = v; }

    @Override
    public String toString() {
        return String.format("MissionCommand{id:%d, mission_id:%d, mission_uuid:%s, cmd:%d, result:%d, err_msg:%s}", id, mission_id, mission_uuid, cmd, result, err_msg);
    }
}
